/* === 小队卡片 === */
.squad-card {
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #eee;
  width: 240px;
  display: flex;
  flex-direction: column;
  height: auto;
}

.squad-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 小队头部 */
.squad-header {
  padding: 12px 10px;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  flex-shrink: 0;
}

.squad-name {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.squad-meta {
  font-size: 0.75rem;
  opacity: 0.9;
  display: flex;
  justify-content: space-between;
}

/* 成员列表 */
.member-list {
  padding: 8px 5px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  max-height: 300px;
}

.member-item {
  display: flex;
  align-items: center;
  padding: 8px 6px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}

.member-item:last-child {
  border-bottom: none;
}

.member-item:hover {
  background-color: #f8f9fa;
}
